package com.itlong.cloud.POJO.VO.property;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * <desc>
 *      组装过的物业住户信息返回对象(AppUserInfoGetVO)返回给前端使用
 * </desc>
 *
 * @createDate 2017-11-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppUserInfoGetAssembleVO {
    private String isChecked;       // 是否选中，0否，1是
    private String userId;      //用户Id
    private String realName;        //用户姓名
    private String vipFlag;    //是否为vip用户 0否 1是
    private String phoneNum;    //用户手机号
    private String qqNum;           //QQ号
    private String createUserTime;        //住户信息创建时间
    private String updateTime;          //更新时间
    private String isFace;      //是否有人脸，0-未认证，1-已认证，2-认证中，3-认证失败
    private String isBindingIdcard;      //是否绑定身份证，0-未绑定，1-已绑定
    private String isLoss;      //挂失状态:0 正常,1 挂失
    private String facePicUrl;
    private String roleName;
    private List<AppUserInfoGetRoomVO> appUserInfoGetRoomVOS;   //用于组装的物业信息返回对象中的住户房间信息

    public AppUserInfoGetAssembleVO(String userId,String realName,String phoneNum,String qqNum,String createUserTime,String updateTime,String isFace,String isBindingIdcard,
                                    String isLoss,List<AppUserInfoGetRoomVO> appUserInfoGetRoomVOS){
        this.userId = userId;
        this.realName = realName;
        this.phoneNum = phoneNum;
        this.qqNum = qqNum;
        this.createUserTime = createUserTime;
        this.updateTime = updateTime;
        this.isFace = isFace;
        this.isBindingIdcard = isBindingIdcard;
        this.isLoss = isLoss;
        this.appUserInfoGetRoomVOS = appUserInfoGetRoomVOS;
    }

    public AppUserInfoGetAssembleVO(String userId,String realName,String vipFlag,String phoneNum,String qqNum,String createUserTime,String updateTime,String isFace,String isBindingIdcard,
                                    String isLoss,List<AppUserInfoGetRoomVO> appUserInfoGetRoomVOS){
        this.userId = userId;
        this.vipFlag = vipFlag;
        this.realName = realName;
        this.phoneNum = phoneNum;
        this.qqNum = qqNum;
        this.createUserTime = createUserTime;
        this.updateTime = updateTime;
        this.isFace = isFace;
        this.isBindingIdcard = isBindingIdcard;
        this.isLoss = isLoss;
        this.appUserInfoGetRoomVOS = appUserInfoGetRoomVOS;
    }
}
